#ifndef CPUWIDGET_H
#define CPUWIDGET_H

#include "sysinfowidget.h"

#include <QtCharts/QPieSeries>

class CpuWidget : public SysInfoWidget
{
    Q_OBJECT

public:
    explicit CpuWidget(QWidget* parent = 0);

    // SysInfoWidget interface
protected slots:
    void update_series() override;

private:
    QtCharts::QPieSeries* m_series;
};

#endif // CPUWIDGET_H
